#ifndef _STRING_MANAGE_H_
#define _STRING_MANAGE_H_

#include <stdio.h>

typedef struct str_mem_hooks
{
      void* (*malloc_fp)(size_t size);
      void  (*free_fp)(void *ptr);
	  void* (*realloc_fp)(void *ptr, size_t size);
}str_mem_hooks;


char string_memory_hooks_init(str_mem_hooks *hooks);
char* extract_string(const char* str, char start, char end);
void free_extract_string(char* substring);
char** split_string(const char* str, const char* delimiter, int* count);
void free_split_string(char** tokens, int count);





#endif
